package com.gzist.elderlyserviceplatform.common.base;

import com.gzist.elderlyserviceplatform.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

import static io.swagger.v3.oas.annotations.media.Schema.AccessMode.READ_ONLY;

/**
 * 基础DTO
 */
@Schema(description = "基本dto")
@Data
public class BaseDTO implements Serializable {
    @Schema(accessMode = READ_ONLY)
    private static final long serialVersionUID = 1L;
    // 页码
    @Schema(description = "页码")
    private Integer pageNum = 1;
    // 每页条数
    @Schema(description = "页面大小")
    private Integer pageSize = 10;
}
